<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="UTF-8">
    <title>修改部门</title>
</head>
<body>
<a href="#" th:href="@{/emp/to}">首页</a>
<form th:action="@{/emp/upDept}" method="post">
    <input type="hidden" name="id" th:value="${dept.id}"/><br/>
    部门名称：<input type="text" name="dname" th:value="${dept.dname}"/><br/>
    <!--<td th:text="${#dates.format(emp.ctime,'yyyy-MM-dd')}"></td>-->
    创建日期：<input type="date" name="ctime" th:value="${#dates.format(dept.ctime,'yyyy-MM-dd')}"/><br/>
    <input type="submit" value="确定"/><br/>
</form>
</body>
</html>